package com.zhiche.lisa.bms.dao.model.sta;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 标准价同步表
 * </p>
 *
 * @author liuanshun
 * @since 2019-01-24
 */
@TableName("lisa_sta_price")
public class StaPrice extends Model<StaPrice> {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	/**
	 * 线路名称
	 */
	@TableField("rule_name")
	private String ruleName;
	/**
	 * 生效日期
	 */
	@TableField("start_date")
	private Date startDate;
	/**
	 * 失效日期
	 */
	@TableField("expire_date")
	private Date expireDate;
	/**
	 * 起运市
	 */
	@TableField("s_loc_zone")
	private String sLocZone;
	/**
	 * 起运区
	 */
	@TableField("s_loc_zone3")
	private String sLocZone3;
	/**
	 * 起运地
	 */
	@TableField("s_loc_location_name")
	private String sLocLocationName;
	/**
	 * 目的省
	 */
	@TableField("d_loc_zone1")
	private String dLocZone1;
	/**
	 * 目的市
	 */
	@TableField("d_loc_zone2")
	private String dLocZone2;
	/**
	 * 目的区
	 */
	@TableField("d_loc_zone3")
	private String dLocZone3;
	/**
	 * 目的地
	 */
	@TableField("d_loc_location_name")
	private String dLocLocationName;
	/**
	 * 运输类型
	 */
	@TableField("transport_node_gid")
	private String transportNodeGid;
	/**
	 * 客户
	 */
	private String attribute20;
	/**
	 * 车型
	 */
	@TableField("std_model_group1")
	private String stdModelGroup1;
	/**
	 * 公里数
	 */
	@TableField("contract_miles")
	private BigDecimal contractMiles;
	/**
	 * 单价
	 */
	private BigDecimal price;
	/**
	 * 创建时间
	 */
	@TableField("insert_date")
	private Date insertDate;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getRuleName() {
		return ruleName;
	}

	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getExpireDate() {
		return expireDate;
	}

	public void setExpireDate(Date expireDate) {
		this.expireDate = expireDate;
	}

	public String getsLocZone() {
		return sLocZone;
	}

	public void setsLocZone(String sLocZone) {
		this.sLocZone = sLocZone;
	}

	public String getsLocZone3() {
		return sLocZone3;
	}

	public void setsLocZone3(String sLocZone3) {
		this.sLocZone3 = sLocZone3;
	}

	public String getsLocLocationName() {
		return sLocLocationName;
	}

	public void setsLocLocationName(String sLocLocationName) {
		this.sLocLocationName = sLocLocationName;
	}

	public String getdLocZone1() {
		return dLocZone1;
	}

	public void setdLocZone1(String dLocZone1) {
		this.dLocZone1 = dLocZone1;
	}

	public String getdLocZone2() {
		return dLocZone2;
	}

	public void setdLocZone2(String dLocZone2) {
		this.dLocZone2 = dLocZone2;
	}

	public String getdLocZone3() {
		return dLocZone3;
	}

	public void setdLocZone3(String dLocZone3) {
		this.dLocZone3 = dLocZone3;
	}

	public String getdLocLocationName() {
		return dLocLocationName;
	}

	public void setdLocLocationName(String dLocLocationName) {
		this.dLocLocationName = dLocLocationName;
	}

	public String getTransportNodeGid() {
		return transportNodeGid;
	}

	public void setTransportNodeGid(String transportNodeGid) {
		this.transportNodeGid = transportNodeGid;
	}

	public String getAttribute20() {
		return attribute20;
	}

	public void setAttribute20(String attribute20) {
		this.attribute20 = attribute20;
	}

	public String getStdModelGroup1() {
		return stdModelGroup1;
	}

	public void setStdModelGroup1(String stdModelGroup1) {
		this.stdModelGroup1 = stdModelGroup1;
	}

	public BigDecimal getContractMiles() {
		return contractMiles;
	}

	public void setContractMiles(BigDecimal contractMiles) {
		this.contractMiles = contractMiles;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Date getInsertDate() {
		return insertDate;
	}

	public void setInsertDate(Date insertDate) {
		this.insertDate = insertDate;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "StaPrice{" +
				", id=" + id +
				", ruleName=" + ruleName +
				", startDate=" + startDate +
				", expireDate=" + expireDate +
				", sLocZone=" + sLocZone +
				", sLocZone3=" + sLocZone3 +
				", sLocLocationName=" + sLocLocationName +
				", dLocZone1=" + dLocZone1 +
				", dLocZone2=" + dLocZone2 +
				", dLocZone3=" + dLocZone3 +
				", dLocLocationName=" + dLocLocationName +
				", transportNodeGid=" + transportNodeGid +
				", attribute20=" + attribute20 +
				", stdModelGroup1=" + stdModelGroup1 +
				", contractMiles=" + contractMiles +
				", price=" + price +
				", insertDate=" + insertDate +
				"}";
	}
}
